vim9script noclear

g:terminal_ansi_colors = ['#5a524c', '#ea6962', '#a9b665', '#d8a657', '#7daea3', '#d3869b', '#89b482', '#d4be98', '#5a524c', '#ea6962', '#a9b665', '#d8a657', '#7daea3', '#d3869b', '#89b482', '#d4be98']

hi! link lCursor Cursor
hi! link CursorIM Cursor
hi! link CurSearch IncSearch
hi! link Terminal Normal
hi! link NormalNC Normal
hi! link PopupNotification Todo
hi! link PopupSelected PmenuSel
hi! link PmenuKindSel PmenuSel
hi! link PmenuMatch Removed
hi! link PmenuMatchSel PmenuSel
hi! link WildMenu PmenuSel
hi! link PmenuExtraSel PmenuSel
hi! link ComplMatchIns Comment
hi! link StatusLineTerm StatusLine
hi! link StatusLineTermNC StatusLineNC
hi! link CursorLineFold FoldColumn
hi! link CursorLineSign SignColumn
hi! link TabPanel TabLine
hi! link TabPanelSel TabLineSel
hi! link TabPanelFill TabLineFill

hi Normal guifg=#d4be98 guibg=#282828 gui=NONE ctermfg=223 ctermbg=235 cterm=NONE
hi Added guifg=#a9b665 guibg=NONE gui=NONE ctermfg=142 ctermbg=NONE cterm=NONE
hi Changed guifg=#7daea3 guibg=NONE gui=NONE ctermfg=109 ctermbg=NONE cterm=NONE
hi Removed guifg=#ea6962 guibg=NONE gui=NONE ctermfg=167 ctermbg=NONE cterm=NONE
hi Boolean guifg=#d3869b guibg=NONE gui=NONE ctermfg=175 ctermbg=NONE cterm=NONE
hi CursorLineNr guifg=#928374 guibg=NONE gui=NONE ctermfg=245 ctermbg=NONE cterm=NONE 
hi CursorLine guifg=NONE guibg=#32302f gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE
hi CursorColumn guifg=NONE guibg=#32302f gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE
hi ColorColumn guifg=NONE guibg=#32302f gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE
hi Conceal guifg=#5a524c guibg=NONE gui=NONE ctermfg=239 ctermbg=NONE cterm=NONE
hi Cursor gui=reverse cterm=reverse 
hi Comment guifg=#928374 guibg=NONE gui=italic ctermfg=245 ctermbg=NONE cterm=italic
hi Constant guifg=#89b482 guibg=NONE gui=NONE ctermfg=108 ctermbg=NONE cterm=NONE
hi Character guifg=#a9b665 guibg=NONE gui=NONE ctermfg=142 ctermbg=NONE cterm=NONE
hi Conditional guifg=#ea6962 guibg=NONE gui=NONE ctermfg=167 ctermbg=NONE cterm=NONE
hi Directory guifg=#a9b665 guibg=NONE gui=NONE ctermfg=142 ctermbg=NONE cterm=NONE
hi Debug guifg=#e78a4e guibg=NONE gui=NONE ctermfg=208 ctermbg=NONE cterm=NONE
hi DiffAdd guifg=NONE guibg=#34381b gui=NONE ctermfg=NONE ctermbg=22 cterm=NONE 
hi DiffChange guifg=NONE guibg=#0e363e gui=NONE ctermfg=NONE ctermbg=17 cterm=NONE
hi DiffDelete guifg=NONE guibg=#402120 gui=NONE ctermfg=NONE ctermbg=52 cterm=NONE
hi DiffText guifg=#7daea3 guibg=#282828 gui=reverse ctermfg=109 ctermbg=235 cterm=reverse
hi Define guifg=#d3869b guibg=NONE gui=NONE ctermfg=175 ctermbg=NONE cterm=NONE
hi Delimiter guifg=#d4be98 guibg=NONE gui=NONE ctermfg=223 ctermbg=NONE cterm=NONE
hi debugPC guifg=#282828 guibg=#a9b665 gui=NONE ctermfg=235 ctermbg=142 cterm=NONE
hi debugBreakpoint guifg=#282828 guibg=#ea6962 gui=NONE ctermfg=235 ctermbg=167 cterm=NONE
hi EndOfBuffer guifg=#5a524c guibg=NONE gui=NONE ctermfg=239 ctermbg=NONE cterm=NONE
hi ErrorMsg guifg=#ea6962 guibg=NONE gui=bold,underline ctermfg=167 ctermbg=NONE cterm=bold,underline
hi Error guifg=#ea6962 guibg=NONE gui=NONE ctermfg=167 ctermbg=NONE cterm=NONE
hi Exception guifg=#ea6962 guibg=NONE gui=italic ctermfg=167 ctermbg=NONE cterm=italic
hi Identifier guifg=#7daea3 guibg=NONE gui=NONE ctermfg=109 ctermbg=NONE cterm=NONE
hi Include guifg=#d3869b guibg=NONE gui=italic ctermfg=175 ctermbg=NONE cterm=italic
hi Folded guifg=#928374 guibg=#32302f gui=NONE ctermfg=245 ctermbg=236 cterm=NONE
hi FoldColumn guifg=#5a524c guibg=NONE gui=NONE ctermfg=239 ctermbg=NONE cterm=NONE
hi FloatermBorder guifg=#928374 guibg=NONE gui=NONE ctermfg=245 ctermbg=NONE cterm=NONE
hi Float guifg=#d3869b guibg=NONE gui=NONE ctermfg=175 ctermbg=NONE cterm=NONE
hi Function guifg=#a9b665 guibg=NONE gui=NONE ctermfg=142 ctermbg=NONE cterm=NONE
hi IncSearch guifg=#ea6962 guibg=#282828 gui=reverse ctermfg=167 ctermbg=235 cterm=reverse
hi Ignore guifg=#928374 guibg=NONE gui=NONE ctermfg=245 ctermbg=NONE cterm=NONE
hi Keyword guifg=#ea6962 guibg=NONE gui=italic ctermfg=167 ctermbg=NONE cterm=italic
hi LineNr guifg=#5a524c guibg=NONE gui=NONE ctermfg=239 ctermbg=NONE cterm=NONE
hi Label guifg=#e78a4e guibg=NONE gui=NONE ctermfg=208 ctermbg=NONE cterm=NONE
hi MatchParen guifg=NONE guibg=#45403d gui=NONE ctermfg=NONE ctermbg=237 cterm=NONE
hi ModeMsg guifg=#d4be98 guibg=NONE gui=bold ctermfg=223 ctermbg=NONE cterm=bold
hi MsgArea guifg=#d4be98 guibg=NONE gui=italic ctermfg=237 ctermbg=NONE cterm=italic
hi MoreMsg guifg=#d8a657 guibg=NONE gui=bold ctermfg=214 ctermbg=NONE cterm=bold
hi Macro guifg=#89b482 guibg=NONE gui=NONE ctermfg=108 ctermbg=NONE cterm=NONE
hi NonText guifg=#5a524c guibg=NONE gui=NONE ctermfg=239 ctermbg=NONE cterm=NONE
hi Number guifg=#d3869b guibg=NONE gui=NONE ctermfg=175 ctermbg=NONE cterm=NONE
hi Operator guifg=#e78a4e guibg=NONE gui=NONE ctermfg=208 ctermbg=NONE cterm=NONE
hi Pmenu guifg=#ddc7a1 guibg=#45403d gui=NONE ctermfg=223 ctermbg=237 cterm=NONE
hi PmenuSel guifg=#45403d guibg=#a89984 gui=NONE ctermfg=237 ctermbg=246 cterm=NONE
hi PmenuKind guifg=#a9b665 guibg=#45403d gui=NONE ctermfg=142 ctermbg=237 cterm=NONE
hi PmenuExtra guifg=#a89984 guibg=#45403d gui=NONE ctermfg=246 ctermbg=237 cterm=NONE
hi PmenuSbar guifg=NONE guibg=#45403d gui=NONE ctermfg=NONE ctermbg=237 cterm=NONE
hi PmenuThumb guifg=NONE guibg=#7c6f64 gui=NONE ctermfg=NONE ctermbg=243 cterm=NONE
hi PreProc guifg=#d3869b guibg=NONE gui=italic ctermfg=175 ctermbg=NONE cterm=italic
hi PreCondit guifg=#d3869b guibg=NONE gui=NONE ctermfg=175 ctermbg=NONE cterm=NONE
hi Question guifg=#d8a657 guibg=NONE gui=NONE ctermfg=214 ctermbg=NONE cterm=NONE
hi QuickFixLine guifg=#d3869b guibg=NONE gui=bold ctermfg=175 ctermbg=NONE cterm=bold
hi Repeat guifg=#ea6962 guibg=NONE gui=NONE ctermfg=167 ctermbg=NONE cterm=NONE
hi SignColumn guifg=#d4be98 guibg=NONE gui=NONE ctermfg=223 ctermbg=NONE cterm=NONE
hi Search guifg=#a9b665 guibg=#282828 gui=reverse ctermfg=142 ctermbg=235 cterm=reverse
hi SpecialKey guifg=#5a524c guibg=NONE gui=NONE ctermfg=239 ctermbg=NONE cterm=NONE
hi SpellBad guifg=NONE guibg=NONE gui=undercurl ctermfg=NONE ctermbg=NONE cterm=undercurl
hi SpellCap guifg=NONE guibg=NONE gui=undercurl ctermfg=NONE ctermbg=NONE cterm=undercurl
hi SpellLocal guifg=NONE guibg=NONE gui=undercurl ctermfg=NONE ctermbg=NONE cterm=undercurl
hi SpellRare guifg=NONE guibg=NONE gui=undercurl ctermfg=NONE ctermbg=NONE cterm=undercurl
hi StatusLine guifg=#d4be98 guibg=NONE gui=NONE ctermfg=223  ctermbg=NONE cterm=NONE
hi StatusLineNC guifg=#928374 guibg=NONE gui=NONE ctermfg=245 ctermbg=NONE cterm=NONE
hi String guifg=#a9b665 guibg=NONE gui=NONE ctermfg=142 ctermbg=NONE cterm=NONE
hi Statement guifg=#ea6962 guibg=NONE gui=italic ctermfg=167 ctermbg=NONE cterm=italic
hi Special guifg=#d8a657 guibg=NONE gui=NONE ctermfg=214 ctermbg=NONE cterm=NONE
hi SpecialChar guifg=#d8a657 guibg=NONE gui=NONE ctermfg=214 ctermbg=NONE cterm=NONE
hi SpecialComment guifg=#928374 guibg=NONE gui=italic ctermfg=245 ctermbg=NONE cterm=italic
hi StorageClass guifg=#e78a4e guibg=NONE gui=NONE ctermfg=208 ctermbg=NONE cterm=NONE
hi Structure guifg=#e78a4e guibg=NONE gui=NONE ctermfg=208 ctermbg=NONE cterm=NONE
hi Todo guifg=#7daea3 guibg=#282828 gui=bold,reverse ctermfg=109 ctermbg=235 cterm=bold,reverse
hi TabLineSel guifg=NONE guibg=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi TabLine guifg=NONE guibg=#3c3836 gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE
hi TabLineFill guifg=NONE guibg=#3c3836 gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE
hi Title guifg=#e78a4e guibg=NONE gui=bold ctermfg=208 ctermbg=NONE cterm=bold
hi Type guifg=#d8a657 guibg=NONE gui=NONE ctermfg=214 ctermbg=NONE cterm=NONE
hi Typedef guifg=#ea6962 guibg=NONE gui=italic ctermfg=167 ctermbg=NONE cterm=italic
hi Tag guifg=#e78a4e guibg=NONE gui=NONE ctermfg=208 ctermbg=NONE cterm=NONE
hi Underlined guifg=NONE guibg=NONE gui=undercurl ctermfg=NONE ctermbg=NONE cterm=undercurl
hi VertSplit guifg=#5a524c guibg=NONE gui=NONE ctermfg=239 ctermbg=NONE cterm=NONE
hi Visual guifg=NONE guibg=#45403d gui=NONE ctermfg=NONE ctermbg=237 cterm=NONE
hi VisualNOS guifg=NONE guibg=#45403d gui=NONE ctermfg=NONE ctermbg=237 cterm=NONE
hi WarningMsg guifg=#d8a657 guibg=NONE gui=bold ctermfg=214 ctermbg=NONE cterm=bold
hi ToolbarButton guifg=#282828 guibg=#a89984 gui=NONE ctermfg=235 ctermbg=246 cterm=NONE
hi ToolbarLine guifg=#ddc7a1 guibg=#45403d gui=NONE ctermfg=223 ctermbg=237 cterm=NONE

hi ChangedAndRemoved guifg=#d3869b guibg=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi MarkWord0 guifg=white guibg=#a9b665 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi MarkWord1 guifg=white guibg=#ea6962 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi MarkWord2 guifg=white guibg=#7daea3 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi MarkWord3 guifg=white guibg=#d8a657 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi MarkWord4 guifg=white guibg=#e78a4e gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi MarkWord5 guifg=white guibg=#89b482 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi MarkWord6 guifg=white guibg=#928374 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi MarkWord7 guifg=white guibg=#d3869b gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE

hi Done guifg=#5a524c guibg=NONE gui=strikethrough ctermfg=239 ctermbg=NONE cterm=strikethrough
hi Cancelled guifg=#5a524c guibg=NONE gui=standout ctermfg=239 ctermbg=NONE cterm=standout

if $Yu3s == '1'
	hi clear Normal
	hi clear StatusLine
	hi clear LineNr
endif
